Using eSync with eCommerce

When using eSync with an eCommerce site, you will want to prevent orders from being processed on your staging server. This is to prevent orders from being processed twice.

For example, a customer on your production site purchases a product. If the staging server and production server are synced before the credit card is processed, the potential exists for the customer’s credit card to be charged twice; once from the production server and again from the staging server.

To prevent orders from being processed on your staging server, edit your staging site’s web.config file. Next, set the following property to true.**

<add key="ek_ecom_OrderProcessingDisabled" value="true" />

Once the property is set to true, you cannot process or edit orders from the Workarea’s View Order screen on the staging server. Also, if you try to create an order from the staging server’s Web site, you receive the following message.

We're sorry, an error occurred while processing your request. Please try again later...

It is important to note that all other eSync functions still work properly. For example, when you create catalog entries on a staging server and perform a sync, the entries will be moved to the production server. This key only affects the processing of orders.

Previous TopicNext Topic|